{include file="public/header" /}
<style>
    .gray-bg {
        background: #fff;
    }

    .wrapper {
        padding: 0px;
    }

    .asdh5 h5 {
        border-top: 1px dotted #ccc;
        padding-top: 20px;
        margin-top: 20px;
    }

    #hidetent {
        display: none;
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <form class="form-horizontal" method="post">
            <div class="col-sm-12">
                <div class="ibox-content">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">用户：</label>
                        <div class="col-sm-9">
                            <input type="text" readonly class="form-control" value="{present name='user'}{$user.name}{else /}0{/present}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">等级：</label>
                        <div class="col-sm-9">
                            <div class="radio i-checks">
                                {volist name="level" id="lv" key="k"}
                                <label>
                                    <input type="radio" value="{$k - 1}" name="level" {present name="user"}{eq name="user.level" value="$k-1"}checked{/eq}{else /}checked{/present}>{$lv}
                                </label>
                                {/volist}
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">锁定：</label>
                        <div class="col-sm-9">
                            <div class="radio i-checks">
                                <label>
                                    <input type="radio" value="0" name="level_lock" {present name="user"}{eq name="user.level_lock" value="0"}checked{/eq}{else /}checked{/present}>否
                                </label>
                                <label>
                                    <input type="radio" value="1" name="level_lock" {present name="user"}{eq name="user.level_lock" value="1"}checked{/eq}{/present}>是
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
{include file="public/footer" /}
{load href="__PLUGINS__iCheck/icheck.min.js"}
{load href="__PLUGINS__iCheck/custom.css"}
<script type="text/javascript">
    $(document).ready(function(){
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        })
    })
</script>
{include file="public/bottom" /}